import SwiftUI

struct TemplateView: View {
    var body: some View {
        makeBigTitle()
        
        makeSubtitle()
        
        makeDescription()
        
        makeViewDemo()
    }
    
    func makeBigTitle() -> some View {
        Text("Big title")
            .font(.largeTitle)
            .padding(.bottom)
            // Modifier
    }
    
    func makeSubtitle() -> some View {
        Text("Subtitle")
            .foregroundColor(.gray)
            .font(.title)
            .padding(.bottom)
    }
    
    func makeDescription() -> some View {
        Text("Description")
            .padding()
            .frame(maxWidth: .infinity)
            .background(Color.orange)
            .padding(.bottom)
    }
    
    func makeViewDemo() -> some View {
        Text("Demo View")
    }
}
